|
DX11 CREATE OBJECT QUAD
Creates a quad (plane) object of the given dimensions.
The quad is initially rotated so that it faces the negative Z axis. If you want a "floor plane" that faces upwards
you would rotate it 90 degrees around its X axis.
Return Dword = DX11 CREATE OBJECT QUAD(width, height, [faceNegativeZ], [vertLayout])
width Float The width, in world space units, of the created quad.
height Float The height, in world space units, of the created quad.
[Optional] faceNegativeZ Boolean If this parameter is set to true the object will face the negative Z-direction (ie. towards a camera). The standard behaviour for all other objects is to face the positive Z-direction (ie. away from the camera). Defaults to false if omitted.
[Optional] vertLayout Dword The object will be created to conform to this vertex layout. Only POSITION, TEXCOORD0, COLOR0 and NORMAL data is created; any other data elements are set to 0. Will use a default VertexLayout (POSITION/COLOR/NORMAL/TEXCOORD) if omitted.
The created object.
OBJECT Functions Menu
DX11 Function Categories
|